<?php
return array(
    'limit' => array(
        'label' => '获取数量',
        'error' => '',
        'userOptions' => [],
        'description' => '',
        'field' => 'number',
        'widget' => 'Text',
        'validate' => [],
        'filter' => array('striptags'),
        'attributes' => array(
            'class' => 'form-control',
        ),
        'required' => true,
    ),
    'userContentModel' => array(
        'label' => '用户角色',
        'error' => '',
        'description' => '',
        'widget' => 'Selects',
        'options' => getRolesOptions(),
        'validate' => [],
        'filter' => array('striptags'),
        'attributes' => array(
            'class' => 'form-control',
        ),
        'required' => true,
    ),
    'sort' => array(
        'label' => '排序规则',
        'error' => '',
        'description' => '以哪种方式排序用户',
        'widget' => 'Select',
        'options' => [
            'score' => '积分榜',
            'glod' => '金币榜',
            'login' => '最近登录',
            'created' => '最近注册'
        ],
        'validate' => [],
        'filter' => array('striptags'),
        'attributes' => array(
            'class' => 'form-control',
        ),
        'required' => true,
    ),
);
